# This will make sure the app is always imported when

from __future__ import absolute_import, unicode_literals

# This will make sure the app is always imported when
# Django starts so that shared_task will use this app.
from .celery import app as celery_app

import pymysql
pymysql.install_as_MySQLdb()    # 修改默认 mysql 连接为 pymysql
__all__ = ('celery_app',)